home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48hor2 / fxprices.doc < prev    next >
Internet Message Format  |  1995-03-31  |  11KB

  1. From: Chris Tham 
  2. Subj: Currency Two-way Pricing 
  3. Date: 25 Nov 91 
  4.  
  5. HP-48SX Foreign Currency Bid/Offer Pricing/Conversions 
  6. Copyright (C) 1991 Chris Tham 
  7.  
  8. Introduction 
  9. ------------ 
  10.  
  11. The HP-48SX FX Application performs bid/offer quotations, pricing, and 
  12. cross currency rate calculations for use by professional Foreign 
  13. Exchange market makers.  It allows the user to define a set of 
  14. currencies and set two-way prices (quotes) for each currency against 
  15. the reference currency (the US Dollar denoted by the three character 
  16. code `USD').  Both direct and indirect methods of quoting currencies 
  17. are supported by the application.  Each currency can then be priced on 
  18. both the bid and offer sides against any other currency defined and the 
  19. application will automatically perform the necessary cross rate 
  20. calculation, taking the appropriate side of the two-way quotes. 
  21.  
  22. Background 
  23. ---------- 
  24.  
  25. Foreign Exchange currency conversions/pricing are different from 
  26. scientific unit conversions normally performed by the HP-48SX Units 
  27. Application because there are two, instead of one, conversion factors 
  28. associated with each currency. 
  29.  
  30. In the foreign exchange market, dealers buy and sell one currency in 
  31. exchange for another currency.  Basically, the price or value of money 
  32. in one country is traded against money in another country.  A foreign 
  33. exchange transaction always involve two currencies, one of which can be 
  34. considered the currency bought or sold (the `base' or `commodity' 
  35. currency) and the other currency can be considered the measure of value 
  36. for effecting the transaction (the `terms' currency). 
  37.  
  38. All transactions require two counterparties, each of which will both buy 
  39. and sell currency.  The exchange rate is the price at which one currency 
  40. can be exchange for another.  Currency names are abbreviated using 
  41. standard codes developed for computer input (the United States Dollar is 
  42. designated by `USD', the Australian Dollar `AUD', the Japanese Yen `JPY', 
  43. the German Deutschmark `DEM', the Great Britain Pound Sterling `GBP' 
  44. and so on). 
  45.  
  46. For example, one counterparty may purchase 1 million AUD (value is 
  47. Australian Dollars $1,000,000) against the US Dollar at an exchange rate 
  48. of AUD 1 = USD 0.7800 (or, in standard market quotation, AUD/USD 0.7800). 
  49. This means that the counterparty has to pay (or sell) $780,000 US 
  50. Dollars for the Australian Dollars bought.  The transaction can also be 
  51. viewed as the counterparty exchanging USD for AUD, paying USD 0.7800 for 
  52. every AUD 1 received.  The other counterparty is performing the reverse 
  53. action, exchanging AUD for USD, and receiving USD 0.7800 for every AUD 1 
  54. sold. 
  55.  
  56. The exchange rate between any two currencies is normally quoted as the 
  57. number of terms currency units required to purchase or sell one base 
  58. currency unit.  The exchange rate is expressed by the commodity currency 
  59. code, followed by a slash, followed by the terms currency code and then 
  60. the exchange rate in terms currency units.  In the above example, the 
  61. exchange rate is quoted with AUD being the base currency and USD being 
  62. the terms currency, hence AUD/USD 0.7800.  In foreign exchange trading, 
  63. the commodity currency is usually the focus of trading and dealers buy 
  64. and sell multiples of the commodity currency. 
  65.  
  66. Instead of quoting each currency against every other currency, all 
  67. currencies are normally quoted against the US Dollar.  The exchange rate 
  68. between any two currency can then be determined by referencing against 
  69. the exchange rate for each currency against the US Dollar.  Most 
  70. currencies are quoted against the US Dollar with the US Dollar as the base 
  71. (or commodity) currency.  This is also called direct quotation.  Some 
  72. currencies, however, notably those belonging to the so called 
  73. `Commonwealth' countries including Great Britain and Australia, are 
  74. quoted with the US Dollar as the terms currency.  This method of quoting 
  75. is referred to as indirect quoting.  An example of a direct quotation is 
  76. USD/DEM 1.8200 (note USD is the base currency and appears on the left 
  77. hand side of the slash).  An example of an indirect quotation is 
  78. GBP/USD 1.6293 (USD is now the terms currency and appears on the right 
  79. hand side of the slash). 
  80.  
  81. There is no `standard' or `reference' exchange rate for any country 
  82. against the US Dollar (except when countries fix currency exchange 
  83. rates with respect to other currencies).  Instead, each dealer is free 
  84. to set the exchange rate for the currency that the dealer is prepared to 
  85. trade.  By convention, dealers set two exchange rates, a rate in which 
  86. they are prepared to buy the commodity currency (the bid rate) and a 
  87. rate in which they are prepared to sell the commodity currency (the 
  88. offer rate).  This is called two-way pricing or quotation.  By convention, 
  89. the bid rate is quoted before the offer rate.  Hence, a typical two-way 
  90. quote for AUD would be AUD/USD 0.7800/05.  This means that the bid rate 
  91. for AUD/USD is 0.7800 and the offer rate is 0.7805, i.e. the dealer is 
  92. prepared to buy AUD for USD 0.7800 and sell AUD for USD 0.7805.  The 
  93. difference between the offer and bid quotes, i.e. USD 0.0005 or 
  94. 5 `points', is called the `spread' and represents the dealer's profit 
  95. from buying and selling the commodity currency. 
  96.  
  97. How to use the FX application 
  98. ----------------------------- 
  99.  
  100. The FX application is normally stored in a subdirectory on the HP-48SX 
  101. called `FX'.  To use the application, simply enter the directory and 
  102. either type the `GO' command or press the [VAR] menu key and then press 
  103. the soft key marked [GO] (this should be the left most soft key if you 
  104. have not created any variables in this directory).  The screen' soft 
  105. menu labels should now change to something like the following 
  106.  
  107.     [MKC] [RMC] [USD] [AUD] [DEM] 
  108.  
  109. The soft keys [MKC] and [RMC] are used to define and undefine a new 
  110. currency unit.  The remaining soft key labels denote currency codes. 
  111. WHen you first install the application, the application comes 
  112. preconfigured with three currencies, USD, AUD and DEM.  You are allowed 
  113. to create or delete any currencies that you wish, including the 
  114. predefined AUD and DEM currencies.  However, USD is a special currency 
  115. that cannot be created or deleted at will due to its special status as 
  116. the currency against which all other currencies are valued against. 
  117.  
  118. Let's use the predefined currencies first.  Later, we will try creating 
  119. and deleting currencies and see the effect on the soft menu.  Suppose 
  120. you are a market maker dealing in both AUD and DEM and you are currently 
  121. quoting 
  122.  
  123.     AUD/USD 0.7790/95 
  124.     USD/DEM 1.8155/60 
  125.  
  126. Your bids and offers may be entered into the application by typing in a 
  127. complex number with the real part equal to the bid rate and the imaginary 
  128. part equal to the offer rate, then pressing [Right Shift] followed by 
  129. the currency soft menu key.  In this instance, you will type in 
  130.  
  131. [Left SHift] [ () ] 0.7790 [SPC] 0.7795 [ENTER] [Right Shift] [AUD] 
  132. [Left SHift] [ () ] 1.8155 [SPC] 1.8160 [ENTER] [Right Shift] [DEM] 
  133.  
  134. Note that the application `knows' that AUD is normally quoted in 
  135. indirect terms and DEM is normally quoted in direct terms so you can 
  136. just enter the quotes into the application and it will figure out which 
  137. currency is the base currency and which is the terms currency. 
  138.  
  139. Now if you buy AUD 15 million how much USD should you be selling?  The 
  140. sign convention is positive if you are buying and negative if you are 
  141. selling.  Type in the following 
  142.  
  143.     15 [EEX] 6 [AUD] 
  144.  
  145. and level 1 of the stack will now show something like 
  146.  
  147.     15000000.0000_bAUD 
  148.  
  149. My calculator is currently on FIX 4 mode.  Your calculator may show a 
  150. slightly different format depending on your current numeric display 
  151. mode.  Note that the amount 15,000,000 is suffixed by the string "_bAUD" 
  152. indicating that the amount is in AUD and you are buying that currency 
  153. and hence `bidding' for it.  To convert that amount to USD, simply press 
  154. the [Left Shift] [USD] key and level 1 of the stack will change to 
  155.  
  156.     -11685000.0000_oUSD 
  157.  
  158. Hence, to buy AUD 15 million, you need to sell USD 11.685 million. 
  159.  
  160. What if you were to sell AUD 15 million?  They following keystrokes will 
  161. reveal the answer: 
  162.  
  163.     15 [+/-] [EEX] 6 [AUD] [Left Shift] [USD] 
  164.  
  165. The stack should show 
  166.  
  167.     11692500.0000_bUSD 
  168.  
  169. which means you will receive USD 11.6925 million. 
  170.  
  171. Here are some more examples and their answers 
  172.  
  173. 1. Buying DEM 6 million (6000000.0000_bDEM), pay 
  174.     -3303964.7577_oUSD 
  175.    {Keystrokes: 6 [EEX] 6 [DEM] [Left Shift] [USD]} 
  176. 2. Selling AUD 7 million (-7000000.0000_oAUD), receive 
  177.     9909004.0000_bDEM 
  178.    {Keystrokes: 7 [+/-] [EEX] 6 [AUD] [Left Shift] [DEM]} 
  179. 3. Buying USD 2 million (2000000.0000_bUSD), pay 
  180.     -2565747.2739_oAUD 
  181.    {Keystrokes: 2 [EEX] 6 [USD] [Left Shift] [AUD]} 
  182.  
  183. To create a new currency, you need to know 
  184. * the three letter currency code 
  185. * bid/offer rates of that currency against the US dollar 
  186. * whether the currency is normally quoted in direct or indirect form 
  187.  
  188. As an example, suppose you want to create a new currency called GBP 
  189. (Great Britain Pound Sterling).  You will be quoting GBP/USD 1.6930/35 
  190. (i.e., indirectly). 
  191.  
  192. Enter the following keystrokes: 
  193.     [Right Shift] [" "] [Alpha] [Alpha] G B P [ENTER] 
  194.     [Left Shift] [ () ] 1.6930 [SPC] 1.6935 [ENTER] 
  195.     0 [ENTER] 
  196.  
  197. The stack should show: 
  198.  
  199. 3:    "GBP" 
  200. 2:    (1.6930,1.6935) 
  201. 1:    0.0000 
  202.  
  203. Level 3 contains the three character currency code, i.e., GBP, level 2 
  204. contains the quoted exchange rate of GBP against USD, level 1 is 0 for 
  205. an indirect quote (and 1 for a direct quote). 
  206.  
  207. Now press the [MKC] (Make Currency) soft key.  You should now notice a 
  208. new softkey labelled [GBP] on the soft menu.  You can now perform 
  209. currency conversions using GBP: 
  210.  
  211. How much do you receive in GBP if you sell DEM 44,000? 
  212. Keystrokes: 
  213.     44 [+/-] [EEX] 3 [DEM] [Left Shift] [GBP] 
  214. Answer: 
  215.     14315.2674_bGBP 
  216.  
  217. How do you create a new currency called "SFR" (Swiss Francs) to be 
  218. quoted as USD/SFR 1.5520/25 (direct quotation)? 
  219. Keystrokes: 
  220.     [Right Shift] [" "] [Alpha] [Alpha] S F R [ENTER] 
  221.     [Left Shift] [ () ] 1.5520 [SPC] 1.5525 [ENTER] 
  222.     1 [ENTER] 
  223.     [MKC] 
  224.  
  225. To remove a currency, simply create a string containing the currency 
  226. code of the currency to be removed, then press the [RMC] (Remove 
  227. Currency) soft key.  For example, to remove the SFR currency just 
  228. created, press 
  229.     [Right Shift] [" "] [Alpha] [Alpha] S F R [ENTER] [RMC] 
  230.  
  231. The soft menu should automatically reflect the removal of the currency. 
  232.  
  233. Exiting the FX application 
  234. -------------------------- 
  235.  
  236. Just press any menu key. 
  237.